<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加请假申请</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="leave_add">
            <div class="form-group">
                <div class="label">
                    <label>请假编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.leaveID}" readonly="readonly" name="leaveID" data-validate="required:请假编号自动生成，如若没有请重新刷新" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>课程编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.courseID}" name="courseID" data-validate="required:请输入课程编号" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>请假事由：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.reason}" name="reason" data-validate="required:请输入请假事由" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>天数：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.daynum}"  name="daynum" data-validate="required:请输入请假天数" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>学号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.stuNo}"  name="stuNo" data-validate="required:请输入学号" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>请假时间：</label>
                </div>
                <div class="field">
                    <input type="date" class="input w50" value="${leave.applytime}" name="applytime" data-validate="required:请输入请假时间" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>状态：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.status}" name="status" data-validate="required:请输入状态" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>审核时间：</label>
                </div>
                <div class="field">
                    <input type="date" class="input w50" value="${leave.audittime}" name="audittime" data-validate="required:请输入审核时间" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>审核意见：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="${leave.opinion}" name="opinion" data-validate="required:请输入审核意见" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>